PROJECT(distnmf)
#FIND_LIBRARY(DIVSUFSORT divsufsort)

SET(CMAKE_CXX_COMPILER "mpic++")

ADD_EXECUTABLE(distnmf
  distnmf_main1.cc
  nmf_bcd.cc
  nmf_master_slave.cc
  nmf_decentralized.cc
)

TARGET_LINK_LIBRARIES(distnmf
  ${Boost_LIBRARIES}
  helper
  armadillo
  lapack
  blas
)

ADD_EXECUTABLE(distnmf_old
  distnmf_main.cc
)

TARGET_LINK_LIBRARIES(distnmf_old
  ${Boost_LIBRARIES}
  helper
  armadillo
  lapack
  blas
)
